.exam-page {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #f7f7f7;

    .clearfix::after {
        content: '';
        width: 0;
        height: 0;
        clear: both;
        overflow: hidden;
        display: block;
    }

    .icon-arrow {
        width: 7px;
        height: 12px;
        background-image: url("data:image/svg+xml,%3Csvg width='7' height='12' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3Cdefs%3E%3Cpath d='M4.596 5.657L0 1.06 1.06 0l4.597 4.596 1.06 1.06-5.656 5.658L0 10.253l4.596-4.596z' id='a'/%3E%3C/defs%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cmask id='b' fill='%23fff'%3E%3Cuse xlink:href='%23a'/%3E%3C/mask%3E%3Cuse fill='%23CACACA' xlink:href='%23a'/%3E%3Cg mask='url(%23b)' fill='%23888'%3E%3Cpath d='M-2-1H9v12H-2z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-size: 7px 12px;
    }

    .chartboard {
        width: 100%;
        height: 0;
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .header {
        width: 100%;
        height: 80px;
        background-image: url('https://static.wecity.qq.com/h5/2020-1/banner-2ff6842b6cb34fcaeac40ec6ece8d84e.png');
        background-size: 100%;
        background-repeat: no-repeat;
        background-position: center bottom;
    }

    .body {
        width: 100%;
        height: 0;
        line-height: 24px;
        text-align: center;
        overflow-y: scroll;
        flex: 1;

        .yellow-tips {
            position: relative;
            max-width: 345px;
            margin: 10px auto;
            padding: 5px 20px 5px 9px;
            font-size: 12px;
            text-align: left;
            line-height: 18px;
            color: #000;
            background: #fffbd7;
            border: 1px solid #dfdfdf;
            border-radius: 12px;
            box-sizing: border-box;
            display: inline-block;

            &::after {
                content: '';
                position: absolute;
                top: 8px;
                right: 8px;
                width: 12px;
                height: 12px;
                background-image: url('https://static.wecity.qq.com/h5/2020-1/tips-arrow-a22dde308faef8936c72309bb16a7b8d.png');
                background-repeat: no-repeat;
                background-size: 100%;
            }
            .hospital-professor {
                color: #5675f1;
                display: block;
            }
        }

        .dialog {
            width: 345px;
            font-size: 16px;
            margin: 0 auto;
            text-align: left;

            &-item {
                max-width: 295px;
                margin: 5px 0;
                padding: 12px 15px;
            }

            .left {
                background: #fff;
                border-radius: 0 18px 18px 18px;
                float: left;
                clear: both;
            }

            .right {
                color: #fff;
                background-image: linear-gradient(270deg, #00aaff 0%, #3763ff 100%);
                border-radius: 18px 18px 0 18px;
                float: right;
                clear: both;
            }
        }

        .result {
            width: 345px;
            padding: 10px 12px;
            margin: 10px auto;
            background: #fff;
            font-size: 16px;
            text-align: left;
            border: 1px solid #dfdfdf;
            border-radius: 6px;
            box-sizing: border-box;

            h4 {
                font-size: 18px;
                color: #5675f1;
                font-weight: 600;
                line-height: 32px;

                &.red {
                    color: #e02020;
                    padding-bottom: 5px;
                }
            }
            p {
                padding: 10px 0;

                &.top-border {
                    border-top: 1px solid #dfdfdf;
                }
            }
            .suggestion {
                display: flex;
                align-items: center;
                justify-content: space-between;
            }
            .hospital-list {
                .hospital-item {
                    margin: 10px 0;
                    display: flex;

                    .list-order {
                        width: 20px;
                        height: 20px;
                        margin-right: 15px;
                        line-height: 20px;
                        border-radius: 50%;
                        color: #fff;
                        font-size: 12px;
                        text-align: center;
                        background: #ff5353;
                        display: block;
                    }
                    .hospital-info {
                        flex: 1;

                        .title {
                            font-size: 16px;
                        }
                        .info {
                            display: flex;
                            justify-content: space-between;

                            .address {
                                flex: 1;
                                font-size: 12px;

                                .tag {
                                    padding: 0 7px;
                                    margin: 9px 5px 9px 0;
                                    line-height: 20px;
                                    color: #fff;
                                    border-radius: 3px;
                                    display: inline-block;

                                    &.yellow {
                                        background: #fbaa3f;
                                    }
                                    &.pick {
                                        background: #ff9090;
                                    }
                                }
                                .detail {
                                    font-size: 14px;
                                    color: #888;
                                    display: block;
                                }
                            }
                            .guide {
                                width: 40px;
                                display: flex;
                                flex-direction: column;
                                align-items: center;
                                .icon {
                                    width: 30px;
                                    height: 30px;
                                    margin: 4px 0;
                                    border-radius: 50%;
                                    background-image: url("data:image/svg+xml,%3Csvg width='8' height='13' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.274 3.773L2.5 6.1V13H0V5h.054L0 4.935l3.5-2.936L1.5 0h6v6L5.275 3.773z' fill='%230074FF' fill-rule='evenodd'/%3E%3C/svg%3E");
                                    background-color: #f0f6ff;
                                    background-repeat: no-repeat;
                                    background-size: 8px 12px;
                                    background-position: center;
                                }
                                .distance {
                                    font-size: 12px;
                                    color: #888;
                                }
                            }
                        }
                    }
                }
            }
            .link {
                display: flex;
                align-items: center;
                justify-content: center;
                font-size: 12px;
                color: #0074ff;

                p {
                    margin-right: 15px;
                }
            }
        }
    }

    .footer {
        width: 100%;
        background: #fff;

        .select {
            width: 100%;
            padding: 7px 0;
            background: #fff;
            display: flex;
            flex-wrap: wrap;
            justify-content: space-around;

            &-item {
                width: 100px;
                height: 32px;
                margin: 7px 0;
                font-size: 14px;
                line-height: 32px;
                border-radius: 16px;
                text-align: center;
                background: #f7f7f7;

                &.selected {
                    color: #fff;
                    background: rgba(44, 82, 238, 0.8);
                }
            }
        }

        .submit {
            width: 100%;
            height: 48px;
            line-height: 48px;
            font-size: 16px;
            color: #000;
            text-align: center;
            border-top: 1px solid #dfdfdf;
            display: flex;

            .submit-item {
                width: 50%;

                .has-mark {
                    position: relative;

                    .hot {
                        position: absolute;
                        right: -24px;
                        bottom: 50%;
                        width: 22px;
                        height: 12px;
                        background-image: url("data:image/svg+xml,%3Csvg width='22' height='12' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Crect fill='%23F85B62' fill-rule='nonzero' width='22' height='12' rx='2'/%3E%3Ctext font-family='PingFangSC-Regular, PingFang SC' font-size='8' fill='%23FFF'%3E%3Ctspan x='3.076' y='9'%3EHOT%3C/tspan%3E%3C/text%3E%3C/g%3E%3C/svg%3E");
                        background-repeat: no-repeat;
                    }
                }
            }
        }
    }
}
.loading {
    background-color: #fff;
    border-radius: 10px !important;
    padding: 0 10px !important;
    .bounce {
        width: 8px;
        height: 8px;
        border-radius: 100%;
        display: inline-block;
        -webkit-animation: bouncedelay 1.4s infinite ease-in-out;
        animation: bouncedelay 1.4s infinite ease-in-out;
        -webkit-animation-fill-mode: both;
        animation-fill-mode: both;
        position: relative;
        top: -1px;
        &.bounce1 {
            animation-delay: -0.32s;
            background-color: rgba($color: #3763ff, $alpha: 1);
        }
        &.bounce2 {
            animation-delay: -0.16s;
            background-color: rgba($color: #3763ff, $alpha: 0.8);
        }
        &.bounce3 {
            background-color: rgba($color: #3763ff, $alpha: 0.6);
        }
    }
}
.loading2 {
    position: relative;
    width: 12px;
    height: 12px;
    border-radius: 100%;
    background-color: rgba(36, 71, 211, 0.6);
    &::before {
        content: '';
        position: absolute;
        top: 0px;
        height: 12px;
        width: 12px;
        border-radius: 12px;
        animation: loader9g 1.4s ease-in-out infinite;
    }
    &::after {
        content: '';
        position: absolute;
        top: 0px;
        height: 12px;
        width: 12px;
        border-radius: 12px;
        animation: loader9d 1.4s ease-in-out infinite;
    }
}
@keyframes bouncedelay {
    0%,
    80%,
    100% {
        transform: scale(0);
        -webkit-transform: scale(0);
    }
    40% {
        transform: scale(1);
        -webkit-transform: scale(1);
    }
}
@keyframes loader9d {
    0% {
        left: 15px;
        background-color: rgba(36, 71, 211, 0.6);
    }
    50% {
        left: 0px;
        background-color: rgba(36, 71, 211, 0.1);
    }
    100% {
        left: 15px;
        background-color: rgba(36, 71, 211, 0.6);
    }
}
@keyframes loader9g {
    0% {
        left: -15px;
        background-color: rgba(36, 71, 211, 0.6);
    }
    50% {
        left: 0px;
        background-color: rgba(36, 71, 211, 0.1);
    }
    100% {
        left: -15px;
        background-color: rgba(36, 71, 211, 0.6);
    }
}
